home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lantools
/
bkup
/
bk_start.bat
< prev
next >
Wrap
DOS Batch File
|
1990-08-23
|
2KB
|
44 lines
:... BK_START, Craig MacPherson
: This routine is used to get the backup server running. It
: links to the BK_TAPE routine to get/set current tape info and
: then to BK_SRV_Q to service any requests in queue. Routines had to be
: seperated due to a problem with Nortons Ask utility and looping using
: lables.
:
: Uses drive n: for file copying, map to sys:\backups
: Uses drive z: for tape drive program files, map to sys:\apps\maynard
: Uses drive y: for my batch files, map to sys:\backups
: Drive Z: and Y: must be in the path for the backup server
@echo off
:... Set Operator Notify User List for tape mounts
set NOTIFY=JLC,CVS,BGC
:... Location of backup batch files; should be in seach path
set SCRIPTS=Y:
set D1=Y:
cd %D1%\backups
:... Working drive for the backup server; NOT in search path
set D2=N:
cd %D2%\backups
:... Location of tape drive program files; should be in search path
set D3=Z:
cd %D3%\apps\maynard
:... Beep to make to get operator attention (BE BEEP from Norton Batch Enhancer)
set SOUND=/F5000 /D2 /R3
:... SET Day and Time of Server Auto Backup
:... Reset the path as Backup server PC has no C drive.
: Path should include access to public and utility files.
PATH=Z:.;Y:.;X:.;W:.;V:.
:... Get current system time and date info
cls
SYSTIME
:... Run routine to manage the backup tapes
%D1%BK_TAPE